﻿using iTextSharp.text;
using iTextSharp.text.pdf;
using Newtonsoft.Json.Linq;

namespace TianYu.Core.Pdf
{
    public class PdfTemplateContent
    {
        public PdfTemplateContent(Document document, JObject jObject, PdfWriter pdfWriter, int height)
        {
            this.Document = document;
            this.PdfObject = jObject;
            this.PdfWriter = pdfWriter;
            this.Height = height;
        }

        public Document Document { get; private set; }

        public PdfWriter PdfWriter { get; private set; }

        public JObject PdfObject { get; private set; }

        public int RepeaterIndex { get; set; } 

        public JToken JToken { get; set; }

        public int Height { get; set; }
    }
}
